﻿using System.Windows.Forms;
using BingoClientModel;
using BingoServerCommon.Common;

namespace _TestClient.Business.Common
{
	/// <inheritdoc />
	public class BroadCast : Package
	{


		public BroadCast(EnumPackCommand mainid) : base(mainid)
		{

		}

		public BroadCast(byte[] buffer, int len) : base(buffer, len)
		{
		}

		public override Package Clone(byte[] bytes)
		{
			return new BroadCast(bytes, bytes.Length);
		}



		/// <summary>
		/// 
		/// </summary>
		public override void Excute(Session session)
		{
			string aa = this.ReadString();
			MessageBox.Show("收到BroadCast，success" + aa);

		}
	}
}
